package com.example.hangzhou.welbeing.mytestdemoapp.mvp.personter;

import android.content.Context;

import com.example.hangzhou.welbeing.mytestdemoapp.mvp.model.ISWowSplashModel;
import com.example.hangzhou.welbeing.mytestdemoapp.mvp.model.WowSplashModel;
import com.example.hangzhou.welbeing.mytestdemoapp.mvp.view.ISWowSplashView;

/**
 * 杭州惟君医疗科技有限公司11
 * Created by 20433 on 2018/5/4
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public class WowSplashPersenter {
    private ISWowSplashView mISWowSplashView;
    private ISWowSplashModel mISWowSplashModel;

    public WowSplashPersenter(ISWowSplashView mISWowSplashView) {
        this.mISWowSplashView = mISWowSplashView;
        mISWowSplashModel = new WowSplashModel();
    }
    public boolean getISLogin(Context mcontext) {
        return mISWowSplashModel.getISLogin(mcontext);
    }

    public boolean getISGuideFigure(Context mcontext) {
        return mISWowSplashModel.getISGuideFigure(mcontext);
    }

    public void toMain() {
        mISWowSplashView.toMainActivityPager();
    }

    public void toGuideFigure() {
        mISWowSplashView.toGuideFigureActivityPager();
    }

    public void toLogin() {
        mISWowSplashView.toLoginActivityPager();
    }



}
